local assets =
{
    Asset("ANIM", "anim/kkd_scalpel.zip"),
    Asset("ATLAS", "images/inventoryimages/kkd_scalpel.xml"),
    Asset("IMAGE", "images/inventoryimages/kkd_scalpel.tex"),
}

local function fn()
    local inst = CreateEntity()

    inst.entity:AddTransform()
    inst.entity:AddAnimState()
    inst.entity:AddSoundEmitter()
    inst.entity:AddNetwork()

    MakeInventoryPhysics(inst)

    inst.AnimState:SetBank("kkd_scalpel")
    inst.AnimState:SetBuild("kkd_scalpel")
    inst.AnimState:PlayAnimation("idle")

	MakeInventoryFloatable(inst, "small")

    inst.entity:SetPristine()

    if not TheWorld.ismastersim then
        return inst
    end

    inst:AddComponent("tradable")

    inst:AddComponent("inspectable")

    inst:AddComponent("inventoryitem")
    inst.components.inventoryitem.imagename = "kkd_scalpel"
    inst.components.inventoryitem.atlasname = "images/inventoryimages/kkd_scalpel.xml"

    MakeHauntableLaunch(inst)

    return inst
end

return Prefab("kkd_scalpel", fn, assets)
